package com.wxapp.system.service;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author lgl
 * @Description 启动类
 * @Datetime 2022/1/12 9:01
 * @Modified By
 */
@SpringBootApplication(scanBasePackages = "com.wxapp")
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableAsync
@EnableAutoDataSourceProxy
@EnableFeignClients("com.wxapp.system.api.feign")
public class SystemStart {
    public static void main(String[] args) {
        SpringApplication.run(SystemStart.class, args);
    }
}
